package cn.vcjf.weapp.api.setting.entity;

import cn.vcjf.weapp.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;

/**
 * <p>
    * 
    * </p>
 *
 * @author zhengzihang
 * @since 2018-09-25
 */
@TableName("vc_freight_template")
public class FreightTemplate extends PageModel<FreightTemplate> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 模板编号
     */
    private Integer temNo;

    /**
     * 模板名称
     */
    private String name;

    /**
     * 计价方式
     */
    private Integer priceType;

    /**
     * 数量
     */
    private Double quantity;

    /**
     * 起步价
     */
    private BigDecimal startingPrice;

    /**
     * 增加数量
     */
    private Double overtopNo;

    /**
     * 加价
     */
    private BigDecimal overtopPrice;

    /**
     * 省Id
     */
    private String province;

    /**
     * 省
     */
    private String provinceName;

    /**
     * 市Id
     */
    private String city;

    /**
     * 市
     */
    private String cityName;

    /**
     * 区id
     */
    private String county;

    /**
     * 区
     */
    private String countyName;

    /**
     * 是否启用
     */
    private Integer enabled;

    private String remarks;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getTemNo() {
        return temNo;
    }

    public void setTemNo(Integer temNo) {
        this.temNo = temNo;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getPriceType() {
        return priceType;
    }

    public void setPriceType(Integer priceType) {
        this.priceType = priceType;
    }
    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }
    public BigDecimal getStartingPrice() {
        return startingPrice;
    }

    public void setStartingPrice(BigDecimal startingPrice) {
        this.startingPrice = startingPrice;
    }
    public Double getOvertopNo() {
        return overtopNo;
    }

    public void setOvertopNo(Double overtopNo) {
        this.overtopNo = overtopNo;
    }
    public BigDecimal getOvertopPrice() {
        return overtopPrice;
    }

    public void setOvertopPrice(BigDecimal overtopPrice) {
        this.overtopPrice = overtopPrice;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }
    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }
    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public void preInsert(){
        super.preInsert();
    }
    @Override
    public void preUpdate(){
        super.preInsert();
    }
    @Override
    public String toString() {
        return "FreightTemplate{" +
        "id=" + id +
        ", temNo=" + temNo +
        ", name=" + name +
        ", priceType=" + priceType +
        ", quantity=" + quantity +
        ", startingPrice=" + startingPrice +
        ", overtopNo=" + overtopNo +
        ", overtopPrice=" + overtopPrice +
        ", province=" + province +
        ", provinceName=" + provinceName +
        ", city=" + city +
        ", cityName=" + cityName +
        ", county=" + county +
        ", countyName=" + countyName +
        ", enabled=" + enabled +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", remarks=" + remarks +
        ", deleteFlag=" + deleteFlag +
        ", sysUserId=" + sysUserId +
        "}";
    }
}
